package edu.kjxy.demo0329;

public class demo01 {

	public static void main(String[] args) {
		Integer[] val1 = Myfuncs.findMax(2,3,4,5,3);
		System.out.println("min = %d, max = %d".formatted(val1[0],val1[1]));
		
		Integer[] val2 = Myfuncs.findMax(1);
		System.out.println("min = %d, max = %d".formatted(val2[0],val2[1]));
		
		Integer[] val3 = Myfuncs.findMax();
		System.out.println("min = %d, max = %d".formatted(val3[0],val3[1]));
	}

}
